{% extends "layouts" ~ DIR ~ "default.twig" %}

{% block title %}{{ "Delete Category?" | translate("categorize") }}{% endblock %}

{% block content %}
<h2>{{ "Delete Category?" | translate("categorize") }}</h2>
<form class="delete" action="{{ url('destroy_category') }}" method="post" accept-charset="UTF-8">
<fieldset role="presentation">
<p>
{{ "&#8220;%s&#8221; will be permanently deleted." | translate("categorize") | format(category.name | oneof("[Untitled]" | translate)) }}
</p>
<div class="confirmation">
<button name="destroy" value="indubitably" class="boo">
{{ "Delete!" | translate }}
</button>
<button name="destroy" value="undecidedly" type="submit" class="yay">
{{ "Cancel" | translate }}
</button>
</div>
<input type="hidden" name="id" value="{{ category.id }}" id="id">
<input type="hidden" name="hash" value="{{ authenticate() }}" id="hash">
</fieldset>
</form>
{% endblock %}
